<div class = "main-view"><!--最外层div-->

    <div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">用户回复</strong></div>

    <form class="am-form-inline left-margin top-margin" role="form">
        <div class="am-form-group">

            <div class="am-form-group">
                <label>用户ID：</label> <input type="text" class="modal-input" style="height: 30px;width:200px" ng-model="replyBy" >
                <!--<label>回复内容：</label> <input type="text" class="modal-input" style="height: 30px" ng-model="replyDesc" >-->
            </div>


            <div class="am-modal am-modal-loading am-modal-no-btn" id="loading">
                <div class="am-modal-dialog">
                    <div class="am-modal-hd">正在载入...</div>
                    <div class="am-modal-bd">
                        <span class="am-icon-spinner am-icon-spin"></span>
                    </div>
                </div>
            </div>


        </div>
        <button type="submit" class="am-btn am-btn-primary" ng-click="search()" data-target = "cascad-search">搜索</button>

    </form>

    <div id = "pagination" class = "pagination"></div>

    <div class="pagination-table left-margin" id="tab_menu" style = "margin-top: 0px;">
        <form class="am-form">
            <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                    <th class="table-check"><input type="checkbox" ng-click="allSelected()"></th>
                    <!--<th class="table-title">帖子所属小区</th>-->
                    <th class="table-title">帖子描述</th>
                    <th class="table-title">帖子回复者</th>
                    <th class="table-title">帖子回复内容	</th>
                    <th class="table-title">帖子回复时间</th>
                    <th class="table-title">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="reply in resultList">
                    <td class="table-check"><input type="checkbox" class="item-check"></td>
                    <!--<td>{{reply.communityName}}</td>-->
                    <td>{{reply.desc}}</td>
                    <td>{{reply.repliedBy.nickName}}</td>
                    <td>{{reply.replyDesc}}</td>
                    <td>{{reply.dateReplied|date:"yyyy-MM-dd HH:mm:ss"}}</td>
                    <td>
                        <button data-am-modal="{target:'#delete-confirm-{{$index}}'}" class="am-btn am-btn-default am-btn-xs am-text-danger"><span class="am-icon-trash-o"></span> 删除</button>

                        <!--删除-->
                        <div class="am-modal am-modal-confirm" tabindex="-1" id="delete-confirm-{{$index}}">
                            <div class="am-modal-dialog">
                                <div class="am-modal-hd">{{question.community.communityName}}</div>
                                <div class="am-modal-bd">
                                    确定要删除这条回复吗？
                                </div>
                                <div class="am-modal-footer">
                                    <span class="am-modal-btn" data-am-modal-cancel>取消</span>
                                    <span ng-click="deleteReply(reply,$index)" class="am-modal-btn" data-am-modal-confirm>确定</span>
                                </div>
                            </div>
                        </div>

                    </td>
                    <!--<td>-->
                    <!--<button class="am-btn am-btn-default am-btn-xs am-text-secondary" ng-click="rejectRole(user)"><span class="am-icon-pencil-square-o"></span> 取消</button>-->
                    <!--</td>-->
                </tr>
                </tbody>
            </table>
        </form>
    </div>


    <div class = "left-margin">共<span id = 'page_number'>{{pageNumber}}</span>页 <span>{{count}}条数据</span></div>

</div>